import webbrowser

firefox=webbrowser.get('firefox')
firefox.open_new_tab('www.google.com')
firefox.open_new_tab('www.yahoo.com')